package ips.util.ClassNameTrans;

public class ClassNameTrans {

	private String User = "ips.user_manage.pojo.User";
	private String Abuse = "ips.abuse_attack.pojo.Abuse";
	private String AttackLog = "ips.attack_log.pojo.AttackLog";
	private String dDos = "ips.dos_check.pojo.dDos";
	private String modStat = "ips.mod_stat.pojo.modStat";
	private String AbnormalDetect = "ips.net_check.pojo.AbnormalDetect";
	private String FlowCheck = "ips.net_check.pojo.FlowCheck";
	private String Oplog = "ips.operate_log.pojo.Oplog";
	private String Proto = "ips.proto_analyse.pojo.Proto";
	
	public String classNameTrans(String ClassName)
	{
		if(ClassName == User)
		{
			return "用户管理";
		}
		else if(ClassName == Abuse)
		{
			return "滥用检测";
		}
		else if(ClassName == AttackLog)
		{
			return "告警日志";
		}
		else if(ClassName == dDos)
		{
			return "DOS/DDOS";
		}
		else if(ClassName == modStat)
		{
			return "模块状态";
		}
		else if(ClassName == AbnormalDetect)
		{
			return "包状态异常检测";
		}
		else if(ClassName == FlowCheck)
		{
			return "流量检测";
		}
		else if(ClassName == Oplog)
		{
			return "操作日志";
		}
		else if(ClassName == Proto)
		{
			return "协议分析";
		}
		return "";
	}
}
